//
//  SCPhotoAlbumListViewController.h
//  PhotoAlbum
//
//  Created by Chao Sheng on 2021/12/1.
//

#import <UIKit/UIKit.h>
#import "SCPhotoManager.h"
#import "SCPhotoCell.h"
#import "SCPhotoAlbumBottomView.h"

NS_ASSUME_NONNULL_BEGIN

@interface SCPhotoAlbumListViewController : UIViewController

@property (nonatomic, strong) UICollectionView *collectionView;

@property (nonatomic, strong) SCPhotoAlbumBottomView *bottomView;

@property (nonatomic, copy) void (^scSelectCompletion)(void);

///初始化必传
@property (nonatomic, strong) SCPhotoManager *manager;

/// 根据model获取当前cell（转场动画里需要调用）
- (SCPhotoCell*)currentPhotoCell:(SCPhotoModel*)model;

/// 滚动到相应位置（转场动画里需要调用）
- (void)scrollToPoint:(SCPhotoCell *)cell rect:(CGRect)rect;

/// 判断当期位置model的cell是否存在（转场动画里需要调用）
- (BOOL)scrollToModel:(SCPhotoModel *)model;

@end

NS_ASSUME_NONNULL_END
